#ifndef PIXELBUFFER_H
#define PIXELBUFFER_H

#include <QImage>
#include <QGLWidget>
#include <QGLPixelBuffer>

class PixelBuffer
{
    QGLPixelBuffer * PBuffer;
    QImage ImageToLoad;
public:
    PixelBuffer();
    void loadImage(QImage image);
    void renderImage();
    QImage extractImage();
};

#endif // PIXELBUFFER_H
